package org.gameg.model.biz;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import top.ibase4j.core.base.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author ShenHuaJie
 * @since 2018-06-25
 */
@ApiModel("")
@TableName("t_condition")
@SuppressWarnings("serial")
public class TCondition extends BaseModel {

    @ApiModelProperty(value = "1-次数奖励；2-连赢奖励；3-数字奖励；4-集齐奖励")
	private String type;
    @ApiModelProperty(value = "奖励金额")
	private BigDecimal price;
    @ApiModelProperty(value = "奖励条件： 集齐：（金牛（0.10-1.90）） 设置为0.1-0.9 集齐豹子： 设置为 4-15 （4个不同豹子） 集齐对子：0.11-0.99 数字奖励-12.34或者11.11或者10.00 奖励xxx  设置为12.34-11.11-10.00 一等奖那种：5.20+13.14  设置参数传 18.34 10以上这种 ，则是10")
	@TableField("award_condition")
	private String awardCondition;
    @ApiModelProperty(value = "奖励开始时间")
	@TableField("start_time")
	private Date startTime;
    @ApiModelProperty(value = "奖励结束时间")
	@TableField("end_time")
	private Date endTime;
    @ApiModelProperty(value = "奖励方法时间，默认为空，为空时，即时发放。")
	@TableField("give_time")
	private Date giveTime;
    @ApiModelProperty(value = "用户id")
	@TableField("player_id")
	private Long playerId;
    @ApiModelProperty(value = "奖池id")
	@TableField("jackpot_id")
	private Long jackpotId;


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getAwardCondition() {
		return awardCondition;
	}

	public void setAwardCondition(String awardCondition) {
		this.awardCondition = awardCondition;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getGiveTime() {
		return giveTime;
	}

	public void setGiveTime(Date giveTime) {
		this.giveTime = giveTime;
	}

	public Long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(Long playerId) {
		this.playerId = playerId;
	}

	public Long getJackpotId() {
		return jackpotId;
	}

	public void setJackpotId(Long jackpotId) {
		this.jackpotId = jackpotId;
	}

}